<template>
  <div class="about-container">
    <h1>关于我们</h1>
    
    <div class="about-content">
      <div class="about-section">
        <h2>我们的使命</h2>
        <p>我们致力于为个人和团队提供简单高效的任务管理解决方案，帮助用户提高工作效率，实现工作与生活的平衡。</p>
      </div>
      
      <div class="about-section">
        <h2>我们的愿景</h2>
        <p>成为全球领先的任务管理工具提供商，通过创新技术和优质服务，赋能每一位用户实现目标。</p>
      </div>
      
      <div class="team-section">
        <h2>我们的团队</h2>
        <div class="team-grid">
          <div class="team-member">
            <div class="member-avatar">
              <img src="https://picsum.photos/id/1001/200/200" alt="团队成员">
            </div>
            <h3>张三</h3>
            <p>创始人 & CEO</p>
          </div>
          <div class="team-member">
            <div class="member-avatar">
              <img src="https://picsum.photos/id/1002/200/200" alt="团队成员">
            </div>
            <h3>李四</h3>
            <p>产品总监</p>
          </div>
          <div class="team-member">
            <div class="member-avatar">
              <img src="https://picsum.photos/id/1003/200/200" alt="团队成员">
            </div>
            <h3>王五</h3>
            <p>技术总监</p>
          </div>
        </div>
      </div>
      
      <div class="about-section">
        <h2>联系我们</h2>
        <p>如果您有任何问题或建议，请随时联系我们。我们的团队将竭诚为您服务。</p>
        <router-link to="/contact" class="contact-btn">立即联系</router-link>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AboutPage'
}
</script>

<style scoped>
.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.about-container h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-section {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #42b983;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.team-section {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #42b983;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: #333;
}

.team-member p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #42b983;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #35495e;
}
</style>